© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
Start anything we do by first asking the Why questions. Understand the purpose, goal of what we do, before moving on to How and What. Company perspective: Why is RAG relevant to Zuhlke's AI strategy? Individual perspective: Why should I learn and care about RAG as a software engineer?
© Zühlke APAC SWEX+DX 2024
An NLP approach that combines the strengths of retrieval systems and generative models.
Retrieving relevant information from external knowledge sources and using it to generate more accurate and contextually relevant responses
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
• Grounded Responses: RAG models retrieve factual information from trusted sources, grounding their outputs in real data and reducing incorrect answers (Lewis et al., 2020). • Reduced Hallucinations: By accessing external knowledge bases, RAG minimizes the generation of fabricated information.
• Dynamic Knowledge Integration: RAG can incorporate the latest information without retraining the entire model, ensuring responses reflect current data (Lewis et al., 2020). • Adaptability: Models can quickly adapt to new domains by updating the retrieval database. • Contextual Relevance: Accessing relevant documents during generation leads to more contextually appropriate responses. • Disambiguation: The retrieval process helps resolve ambiguities by considering a wider context.
• Scalability: RAG handles large data volumes efficiently, suitable for applications like customer support with vast knowledge bases. • Domain Specificity: Tailoring the retrieval corpus allows for industry-specific applications.
© Zühlke APAC SWEX+DX 2024
• Dependence on Data Sources: Accuracy relies on the quality of external knowledge bases (Lewis et al., 2020). • Bias Amplification: Potential propagation of biases from the retrieval corpus.
• System Complexity: Integrating retrieval systems adds architectural complexity. • Continuous Updating: Ongoing maintenance is required to keep knowledge bases current.
• Data Leakage: Accessing external data raises concerns about exposing sensitive information. • Compliance Risks: Ensuring adherence to data protection regulations like GDPR.
© Zühlke APAC SWEX+DX 2024
> To implement a reference RAG application that retrieves and generates based on documents stored in Azure DevOps.
Full details available on the Wiki: Workshop Documentation
© Zühlke APAC SWEX+DX 2024
Test our RAG application with Zühlke insurance documents to evaluate its effectiveness.
© Zühlke APAC SWEX+DX 2024
Azure Cloud supports developing RAG by providing tools for managing LLMs, databases, and integrating them through APIs:
The workshop's purpose is not to teach you how to set up Azure services, but to provide a working environment for the workshop.
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
High-Level tasks for everyone:
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
© Zühlke APAC SWEX+DX 2024
> The best way to learn something is to do it.
© Zühlke APAC SWEX+DX 2024